"""
演示while循环基础练习题：求1-100的和
"""

sum = 0
i = 0
while i <= 100:
    sum += i
    i += 1

print(f"1到100的累加和是：{sum}")